home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 - Inside Community Club / Acrobat Pro 6 D.bin / installer / Data1.cab / HTML2PDF.api / EXVW / 4503 < prev    next >
Encoding:
Text File  |  2003-05-15  |  1.3 KB  |  40 lines

  1. gStrFontSelectionDialog    = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/DialogTitle';
  2. gStrFontForBodyText        = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/BodyText';
  3. gStrFontForHeadings        = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/Headings';
  4. gStrFontForPreFormatted    = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/PreFormatted';
  5.  
  6. gFontNamePopupWidth        = max_char_width() * 15;
  7. gSampleWidth            = gFontNamePopupWidth + (max_char_width() *2);
  8. gSampleHeight            = max_char_width() * 3;
  9.  
  10. dialog( name: gStrFontSelectionDialog, target: 'btfn' )
  11. {
  12.     view( align_children: align_left )
  13.     {
  14.         cluster( name: gStrFontForBodyText )
  15.         {
  16.             view( align_children: align_left )
  17.             {
  18.                 popup( item_id: 'btfn', width: gFontNamePopupWidth );
  19.                 user_item( item_id: 'btsm', width: gSampleWidth, height: gSampleHeight);
  20.             }
  21.         }
  22.         cluster( name: gStrFontForHeadings )
  23.         {
  24.             view( align_children: align_left )
  25.             {
  26.                 popup( item_id: 'hdfn', width: gFontNamePopupWidth );
  27.                 user_item( item_id: 'hdsm', width: gSampleWidth, height: gSampleHeight);
  28.             }
  29.         }
  30.         cluster( name: gStrFontForPreFormatted )
  31.         {
  32.             view( align_children: align_left )
  33.             {
  34.                 popup( item_id: 'pffn', width: gFontNamePopupWidth );
  35.                 user_item( item_id: 'pfsm', width: gSampleWidth, height: gSampleHeight);
  36.             }
  37.         }
  38.         ok_cancel();
  39.     }
  40. }